package po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class User {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String name;//名字

    private String sex;//性别

    private int grade;//人物等级:铜皮、草根、柳筋、骨气、铸炉、洞府、观海、龙门、金丹、元婴

    private String password;//密码

    private int life;//生命值

    private int strength;//力气值

    private int agility;//敏捷度

    private int power;//法力值

    private int spirit;//精神值

    private double money;//余额

    private String occupation;//职业

    private LocalDateTime createTime;
}
